.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  .list-unstyled();
  margin-left: -5px;
  >li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hide {
  display: none;
}

.hidden {
  display: none !important;
}

//浮动
.floatR {
  float: right;
}

.floatL {
  float: left;
}

// 背景颜色选项
.bgred {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 3px;
  background-color: #FF0000;
  &:hover {
    background-color: darken(#FF0000, 10%);
  }
}

.bgblue {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 3px;
  background-color: #5588DD;
  &:hover {
    background-color: darken(#5588DD, 10%);
  }
}

.bgyellow {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 3px;
  background-color: #EEAD0E;
  &:hover {
    background-color: darken(#EEAD0E, 10%);
  }
}

// 设置选择停车场树的背景为白色
ul#tableTree {
  background-color: #fff;
}

//单复选框美化less
.tags-select {
  font-size: 0;
  >label.tag-select {
    position: relative;
    display: inline-block;
    width: auto !important;
    font-size: 14px;
    margin: 5px;
    font-weight: normal;
    .name {
      display: block;
      line-height: 20px;
      padding: 3px 15px;
      border-radius: 5px;
      border: 1.5px solid #ccc;
      cursor: pointer;
    } //设置radio不可见
    input[type="radio"],
    input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      z-index: -1; //选中
      &:checked+.name {
        position: relative;
        border-color: #5588dd;
        color: #5588dd;
        &::before {
          content: "";
          position: absolute;
          width: 0;
          height: 0;
          border: 6px solid;
          border-color: transparent transparent #5588dd #5588dd;
          bottom: 0;
          right: 0;
          transform: rotateZ(-90deg);
        }
      } //禁用
      &:disabled+.name {
        background: #eee;
        color: #999;
        cursor: not-allowed;
      }
    }
  }
}

.cursor {
  cursor: pointer;
}

